package cn.finedo.dto;

import java.util.List;

public class LLMDto {
    // 输入内容
    private String prompt;
    // 历史对话数据
    private List<String> history;
    // token后续列表大小，通常为0.75
    private float topp;
    // 模型最大输入长度
    private Integer maxlength;
    // 随机抽样概率，通常为0.95
    private float temperature;
    // 0 流式 1 非流式
    private int stream;

    public int getStream() {
        return stream;
    }

    public void setStream(int stream) {
        this.stream = stream;
    }

    public String getPrompt() {
        return prompt;
    }

    public void setPrompt(String prompt) {
        this.prompt = prompt;
    }

    public List<String> getHistory() {
        return history;
    }

    public void setHistory(List<String> history) {
        this.history = history;
    }

    public float getTopp() {
        return topp;
    }

    public void setTopp(float topp) {
        this.topp = topp;
    }

    public Integer getMaxlength() {
        return maxlength;
    }

    public void setMaxlength(Integer maxlength) {
        this.maxlength = maxlength;
    }

    public float getTemperature() {
        return temperature;
    }

    public void setTemperature(float temperature) {
        this.temperature = temperature;
    }
}
